switch (event.key) {
    case   "ArrowLeft" :
      cleft1 = cleft1 - 10;
     case   "ArrowRight" :
      cleft1 = cleft1 + 10;
     case   "ArrowUp" :
      ctop1 = ctop1 - 10;
     case   "ArrowDown" :
      ctop1 = ctop1 + 10;
    case cleft1 < 0 :
      cleft1 = 0;
     case cleft1 > 450 :
      cleft1 = 450;
    
    case ctop1 < 0 :
      ctop1 = 0;
     case ctop1 > 310 :
      ctop1 = 310;
    
    controllerDom1.stylleft = cleft1 + "px";
    controllerDom1.styltop = ctop1 + "px";
    
      case"a": 
      cleft2 = cleft2 - 10;
      case   "d" :
      cleft2 = cleft2 + 10;
     case   "w" :
      ctop2 = ctop2 - 10;
     case   "s" :
      ctop2 = ctop2 + 10;
     case Code == "13" :
      //enter监听
      qiehuan"b";
    }

    case cleft2 < 0 :
      cleft2 = 0;
     case cleft2 > 450 :
      cleft2 = 450;
    
    case ctop2 < 0 :
      ctop2 = 0;
     case ctop2 > 310 :
      ctop2 = 310;
    
    }
    if"32" :
     //空格监听
     qiehuan"a";
   